<?php
/**
 * Defines a District contained in a Town.
 * Districts are only related to some important towns (cities) 
 * where the have a relevance
 */
class District{
	
	private $id;
	private $town;
	private $name;
	private $normalizedName;
	private $itemTotal;
	
	public function __construct(	$id = NULL, 
													$town = NULL, 
													$name = NULL, 
													$normalizedName = NULL, 
													$itemTotal){
		$this->id = $id;
		$this->town = $town;
		$this->name = $name;
		$this->normalizedName = $normalizedName;
		$this->itemTotal = $itemTotal;													
	}	
	
	public function setId($id){
		$this->id = $id;
	}
	
	public function setTown($town){
		$this->town = $town;
	}
	
	public function setName($name){
		$this->name = $name;
	}
	
	public function setNormalizedName($normalizedName){
		$this->normalizedName = $normalizedName;
	}
	
	public function setItemTotal($itemTotal){
		$this->itemTotal = $itemTotal;
	}
	
	public function getId(){
		return $this->id;		
	}
	
	public function getTown(){
		return $this->town;
	}
	
	public function getName(){
		return $this->name;
	}
	
	public function getNormalizedName(){
		return $this->normalizedName;
	}
	
	public function getItemTotal(){
		return $this->itemTotal;
	}
}
?>